from selenium import webdriver
from selenium.webdriver.common.by import By
from time import sleep
from options import options

dr = webdriver.Chrome(options=options)
url = r'http://192.168.190.130/upload/'
dr.get(url)
#登录
dr.find_element(By.XPATH,'//*[@id="ls_username"]').send_keys('test01')
dr.find_element(By.XPATH,'//*[@id="ls_password"]').send_keys('123456')
dr.find_element(By.XPATH,'//*[@id="lsform"]/div/div/table/tbody/tr[2]/td[3]/button').click()
sleep(6)
